
app:registClass("HandbookController", "app.handBook.controllers.HandbookController")

app:registInst(import(".models.HandbookModel").new())

app:registInst(app:getClass("HandbookController").new({type="systemUI"}))

app.session:on("pb_activity.S2C_GetDirectoryChallengeLVRewardRedPoint", function(msg)
    app:sendMsg("HandbookController", "setDirectoryChallengeRedPoint", msg.isRed)
end)